/* This file wraps ECalComponentAlarm class */

%module "evolution"
%{
#include <libecal/e-cal-component.h>	
%}

%trackobjects ECalComponentAlarm;
struct ECalComponentAlarm
{
};

%extend ECalComponentAlarm
{
	ECalComponentAlarm() {
		return e_cal_component_alarm_new();
	}
};


PROPERTY_READ(ECalComponentAlarm, uid, const char*, e_cal_component_alarm_get_uid )
PTR_PROPERTY_RW(ECalComponentAlarm, description, ECalComponentText, e_cal_component_alarm_get_description, e_cal_component_alarm_set_description)
PROPERTY_EDS_ALLOC_RW(ECalComponentAlarm, action,  ECalComponentAlarmAction, e_cal_component_alarm_get_action, e_cal_component_alarm_set_action)
PROPERTY_EDS_ALLOC_RW(ECalComponentAlarm, trigger,  ECalComponentAlarmTrigger, e_cal_component_alarm_get_trigger, e_cal_component_alarm_set_trigger)

DEFINE_LANGUAGE_DESTRUCTOR(ECalComponentAlarm, e_cal_component_alarm_free)

